package com.project.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "Meber",description = "会员信息")
public class Member implements Serializable,Cloneable {
    /**
     * 会员ID
     */
    @ApiModelProperty(value = "会员ID",example = "1")
    private Integer id;
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "会员对应的用户ID",example = "1")
    private Integer user_id;
    @ApiModelProperty(value = "用户信息",example = "User")
    private Users users;
    /**
     * 账户余额
     */
    @ApiModelProperty(value = "账户信息",example = "100")
    private Double balance;
}
